<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基础知识</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/animate.css/3.2.3/animate.css" rel="stylesheet">
	<link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="../../static/css/public.css" />
</head>
<body>
	<!--右边内容-->
	<div id="app" class="main">
		<div class="shadow">
			<div>
				<h5>你知道bootstrap的实现原理吗？</h5>
				<ul>
					<li>1.媒体查询</li>
					<li>2.百分比（分为12份的体现）12-width:100%</li>
					<li>3.浮动</li>
				</ul>
			</div>
			<div>
				<h4>bootstrap进度条</h4>
				<pre>
	.bar{
		width: 200px;
		height: 40px;
		background-color: red;
		background-size: 40px;
		background-image: linear-gradient(45deg,rgba(255,255,255,.15)25%,transparent 25%, transparent 50%,rgba(255,255,255,.15)50%,
		rgba(255,255,255,.15)75%,transparent 75%);
		animation: progress-bar-stripe 1s linear infinite;
	}
	@keyframes progress-bar-stripe{
		0%{background-position: 40px 0;}
		100%{background-position: 0 0;}
	}
	&lt;div class="bar"&gt;&lt;/div&gt;
	
	<div class="bar"></div>
	<style type="text/css">
		.bar{
			width: 200px;
			margin-left: 2em;
			height: 40px;
			background-color: red;
			background-size: 40px;
			background-image: linear-gradient(45deg,rgba(255,255,255,.15)25%,transparent 25%, transparent 50%,rgba(255,255,255,.15)50%,
			rgba(255,255,255,.15)75%,transparent 75%);
			animation: progress-bar-stripe 1s linear infinite;
		}
		@keyframes progress-bar-stripe{
			0%{background-position: 40px 0;}
			100%{background-position: 0 0;}
		}
	</style>
				</pre>
			</div>
		</div>
	</div>
	<!--页面加载进度条-->
	<script src="https://cdn.bootcdn.net/ajax/libs/pace/0.5.0/pace.min.js"></script>
</body>

</html>